/**
  * @name 判断是否可以报名
  * @description: 
  * @param 
  * @return 
  */
export const isSignUp = (startTime,endTime)=>{
	let startTimeDate = new Date(Date.parse(startTime.replace(/-/g, "/"))).getTime()//报名开始时间
	let endTimeDate = new Date(Date.parse(endTime.replace(/-/g, "/"))).getTime()//报名结束时间
	let nowTimeDate = new Date().getTime()//现在的时间

	let result,msg
	if(nowTimeDate < startTimeDate){
		result = 0//未到报名时间
		msg = "未到报名时间"
	}else if(nowTimeDate >= startTimeDate && nowTimeDate <= endTimeDate){
		result = 1//在报名时间内
		msg = "待报名"
	}else{
		result = 2//超过报名时间
		msg = "超过报名时间"
	}
	return {result,msg}
}